From 97cb77381a962e05b08c9c2e594fca1acfae7eec Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Fri, 22 Sep 2006 20:20:57 +0100 Subject: [PATCH] [HVM][VNC] Make sure that the vnc viewer gets the right resolution when it connects. Signed-off-by: Steven Smith --- tools/ioemu/vnc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ioemu/vnc.c b/tools/ioemu/vnc.c index 317d069256..af3f4f088f 100644 --- a/tools/ioemu/vnc.c +++ b/tools/ioemu/vnc.c @@ -1137,6 +1137,8 @@ static int protocol_client_init(VncState *vs, char *data, size_t len) size_t l; char pad[3] = { 0, 0, 0 }; + vga_hw_update(); + vs->width = vs->ds->width; vs->height = vs->ds->height; vnc_write_u16(vs, vs->ds->width); -- 2.30.2